//--------------------------------------------------------------------------
// DEVBENCH
//--------------------------------------------------------------------------
// IGMPIF.H
//
// Author: Michael A. Denio
// Copyright 2003 by Texas Instruments Inc.
//-------------------------------------------------------------------------

#ifndef _C_IGMPIF_INC
#define _C_IGMPIF_INC  /* #defined if this .h file has been included */

//-----------------------------------------------------------------------
//
// Global Task Information
//

// Defined Messages
#define MSG_IGMP_TIMER                    (ID_IGMP*MSG_BLOCK + 0)
#define MSG_IGMP_NEEDTIMER                (ID_IGMP*MSG_BLOCK + 1)

//
// Global Statistics
//
extern UINT32 _IGMPInDiscard;
extern UINT32 _IGMPInQuery;
extern UINT32 _IGMPInResponse;
extern UINT32 _IGMPOutResponse;

//
// Access Functions (Kernel)
//
_extern void IGMPMsg( uint Msg );
_extern void IGMPInput( PBM_Pkt *pPkt );


//
// Access Functions (User)
//
_extern uint IGMPJoinHostGroup( IPN IpAddr, uint IfIdx );
_extern void IGMPLeaveHostGroup( IPN IpAddr, uint IfIdx );


#endif

